<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>排行榜</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            line-height: 1.6;
            color: #666;
        }

        h1 {
            color: #333;
            text-align: center;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: center;
        }

        th {
            background-color: #f2f2f2;
        }
    </style>
</head>

<body>
    <h1>{{type}}排行榜</h1>
    <table>
        <thead>
            <tr>
                <th>排名</th>
                <th>QQ</th>
                <th>{{type}}</th>
            </tr>
        </thead>
        <tbody>
            {{each info item}}
            <tr>
                <td>{{item.rank}}</td>
                <td>{{item.id}}</td>
                <td>{{item.value}}</td>
            </tr>
            {{/each}}
        </tbody>
    </table>
</body>

</html>
